package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.log.UserRidingScoreLogDao;
import com.tbit.uqbike.client.pojo.vo.UserRidingScoreLogVO;
import com.tbit.uqbike.client.service.UserRidingScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户骑行分接口实现类
 *
 * @Author:BUGTian
 * @DATE: 2023/2/14
 */
@Service
public class UserRidingScoreServiceImpl implements UserRidingScoreService {
    @Autowired
    private UserRidingScoreLogDao userRidingScoreLogDao;

    @Override
    public List<UserRidingScoreLogVO> getUserRidingScoreLog(Integer userId, boolean getAll) {
        return userRidingScoreLogDao.selectList(userId, getAll);
    }
}
